home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group97a.txt / 000109_icon-group-sender _Fri Apr 11 10:44:43 1997.msg < prev    next >
Internet Message Format  |  2000-09-20  |  1KB

  1. Received: from kingfisher.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Fri, 11 Apr 1997 08:46:48 MST
  2. Received: by kingfisher.CS.Arizona.EDU; (5.65v3.2/1.1.8.2/08Nov94-0446PM)
  3.     id AA01154; Fri, 11 Apr 1997 08:46:48 -0700
  4. To: icon-group@cs.arizona.edu
  5. Date: 11 Apr 1997 10:44:43 GMT
  6. From: eddie@tattoo.ed.ac.uk (Eddie Corns)
  7. Message-Id: <5il4mr$gr6@scotsman.ed.ac.uk>
  8. Organization: Edinburgh University
  9. Sender: icon-group-request@cs.arizona.edu
  10. References: <334D453B.72FD@anu.edu.au>
  11. Subject: Re: Records in Icon
  12. Errors-To: icon-group-errors@cs.arizona.edu
  13. Status: RO
  14. Content-Length: 414
  15.  
  16. Re: checking common elements in a record
  17.  
  18. Extract all the fields from the record that you want to compare (2 and 4 in
  19. your example) into a set for each record, then compare the sets for a non zero
  20. length intersection.  That's assuming you don't care which ones actually
  21. matched.  If you wanted that then I suppose comparing each field for
  22. membership of the intersection set would be about the easiest way.
  23.  
  24. Eddie
  25.